Note: This tutorial assumes that you have completed the previous tutorials: Introduction to Sigslots, Relaying Signals. |
Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Debugging Sigslots
Description: Tools to help debug sigslots problems.Keywords: ecl sigslots
Tutorial Level: INTERMEDIATE
Often you may wish to see what is actually connected. This can be done by calling the SigSlotsManager<T>::printStatistics() function. Note that there is a manager for each templatised family of sigslots (i.e. SigSlotsManager<>, SigSlotsManager<int>). Some example code:
would output: